﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace SYSoft.Model.Models.DeviceManage
{

    [SqlSugar.SugarTable("device_pass_config")]
    public class DevicePassConfig
    {
        /// <summary>
        /// ID  自增的主键一定要加IsIdentity特性 防止插入失败
        /// </summary>
        [SugarColumn(IsNullable = false, IsPrimaryKey = true)]
        public int Id { get; set; }

        /// <summary>
        /// 设备ID
        /// </summary>
        public int DeviceId { get; set; }


        /// <summary>
        /// 设备描述
        /// </summary>
        public string DeviceName { get; set; }


        /// <summary>
        /// 通道名称
        /// </summary>
        public string PassName { get; set; }

        /// <summary>
        /// 通道单位
        /// </summary>
        public string PassUnit { get; set; }

        /// <summary>
        /// 通道索引
        /// </summary>
        public int PassIndex { get; set; }

        /// <summary>
        /// 通道倍数
        /// </summary>
        public float PassMultiple { get; set; }

        /// <summary>
        /// 报警等级
        /// </summary>
        public string IpAddress { get; set; }

        /// <summary>
        /// 报警详细信息
        /// </summary>
        public int StationId { get; set; }

        /// <summary>
        /// 下限数据
        /// </summary>
        public float lowLimitData { get; set; }
        /// <summary>

        /// <summary>
        /// 中限数据
        /// </summary>
        public float midLimitData { get; set; }
        /// <summary>
        /// 上限数据
        /// </summary>
        public float upLimitData { get; set; }


        /// <summary>
        /// 维护 下限条件
        /// </summary>
        public float wh_lowLimitData { get; set; }

        /// <summary>
        /// 维护 上限条件
        /// </summary>
        public float wh_upLimitData { get; set; }


        /// <summary>
        /// 维护条件1展示内容
        /// </summary>
        public string wh_Text1 { get; set; }

        /// <summary>
        /// 维护条件1展示内容
        /// </summary>
        public string wh_Text2 { get; set; }


        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;
    }
}
